<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>链接</title>
</head>
<body>
    <h4>1、外部链接</h4>
    <h4> target 指定链接页面的打开方式,默认为 _self </h4>
    <a 
    href="https://sports.sohu.com/"
    target="_self"
    >体育新闻(当前页打开)</a>
    <a 
    href="https://sports.sohu.com/"
    target="_blank"
    >体育新闻（另外打开）</a>
    <h4>2、内部链接</h4>
    <a href="03-图片.html">打开一个页面（图片）</a>
    <h4>3、空链接#</h4>
    <a href="">空链接</a><a href="#">也是空链接</a>
    <h4>4、下载链接</h4>
    <a href="imgs/211ebki1g1v211ebki1g1v.jpg">下载图片文件</a>
    <h4>5、网页元素的链接</h4>
    <a href="https://sports.sohu.com/"><img src="imgs/jdk2y0mzbtajdk2y0mzbta.jpg" alt="" width="100" height="100"></a>
    <h4>锚点链接</h4>
    <a href="#love">锚点链接</a>
    <div>
        <p>我爱你一生一世Lorem ipsum dolor sit amet consectetur adipisicing elit. Expedita consequuntur dicta assumenda at maiores odio mollitia ipsa ea earum voluptates impedit recusandae porro quo libero reprehenderit officiis molestiae natus, eius pariatur harum blanditiis cumque necessitatibus. Quia explicabo tempora officiis rerum? Molestiae eligendi expedita minima, est eum asperiores quod neque et cum magnam sit suscipit sapiente laborum natus necessitatibus. Rerum, reprehenderit perspiciatis autem, fuga dolore earum voluptate inventore labore cumque, vel repudiandae esse quia. Recusandae placeat, expedita voluptas unde ullam iusto qui nihil sed porro itaque eius accusantium rerum perferendis laborum eligendi illum vitae fuga repudiandae autem fugit cumque velit nam.</p>
        <p id="love">我才爱你</p>
    </div>
</body>
</html>